<!--#begin calendargroups -->
<form method="post" action="{ babPhpSelf }">
<input type="hidden" name="tg" value="admcals">
<input type="hidden" name="idx" value="groups">
<input type="hidden" name="calgroups" value="update">
<table width="30%" border="0" cellspacing="0" cellpadding="2" align="center">
<tr> 
<td class="BabLoginCadreBackground" align="center" valign="middle"> 
<table  width="100%" border="0" cellspacing="0" cellpadding="5" align="center">
<tr> 
<td class="BabLoginMenuBackground" align="center" nowrap valign="middle"> 
<select name="what">
<option value="">{ listgroups }</option>
<option value="-1">{ all }</option>
<option value="0" >{ none }</option>
</select>
</td>
</tr>
<tr> 
<td class="BabLoginMenuBackground" align="center" nowrap valign="middle">{ name }:</td>
</tr>
<tr> 
<td class="BabLoginMenuBackground" align="center" nowrap valign="middle"> 
<select multiple name="groups[]" size="10">
<!--#in getnextgroup -->
<option value="{ arrgroups[id] }" { arrgroups[select] }>{ arrgroups[name] }</option>
<!--#endin getnextgroup -->
</select>
</td>
</tr>
<tr valign="middle"> 
<td class="BabLoginMenuBackground" align="center" valign="middle"> 
<input type="submit" name="submit" value="{ updategroups }">
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<!--#end calendargroups -->

<!--#begin calendarslist -->
<form method="post" action="{ babPhpSelf }" name="listform">
<input type="hidden" name="tg" value="admcals" />
<input type="hidden" name="idx" value="{ idx }" />
<table width="95%" border="0" cellspacing="0" cellpadding="2" align="center">
<tr> 
<td class="BabLoginCadreBackground" align="center" valign="middle"> 
<table width="100%" border="0" cellspacing="0" cellpadding="3" align="center">
<tr class="BabSiteAdminTitleFontBackground"> 
<td>{ nametxt } </td>
<td>{ desctxt }</td>
<td colspan="2">&nbsp;</td>
<td width="1%">{ disabledtxt }</td>
</tr>
<!--#in getnext --> 
<!--#if altbg --><tr class="BabSiteAdminFontBackground"><!--#else altbg --><tr class="BabForumBackground1"><!--#endif altbg -->
<td><a class="BabSiteAdminListLink" href="{ nameurl }">{ name }</a></td>
<td>{ description }</td>
<td align="center"><a class="BabSiteAdminListLink" href="{ rightsurl }">{ rightstxt }</a></td>
<td align="center"><a href="{ delurl }" title="{ t_delete }"><img alt="{ t_delete }" border="0" src="{ babSkinPath }images/Puces/del.gif"></a></td>
<td valign="middle" width="0%" align="center"> 
<input type="checkbox" name="calids[]" { calchecked } value="{ idcal }">
</td>
</tr>
<!--#endin getnext -->
<tr class="BabSiteAdminTitleFontBackground"> 
<td><a href="{ urladdcal }">{ add }</td>
<td colspan="3">&nbsp;</td>
<td width="1%" align="center"><a href="javascript:onCheckAll('calids', true)"><img src="{ babSkinPath }images/Puces/Pucecheked.gif" alt="{ checkall }" width="10" height="10" border="0"></a><a href="javascript:onCheckAll('calids', false)"><img src="{ babSkinPath }images/Puces/PuceUncheked.gif" alt="{ uncheckall }" width="10" height="10" border="0"></a></td>
</tr>
</table>
</td>
</tr>
</table>
<br />
<div align="center">
<input type="submit" name="sublist" value="{ update }" /></div>
<br />
</form>
<!--#end calendarslist -->

<!--#begin calendaraddr -->
<form name="calcreate" method="post" action="{ babPhpSelf }">
<input type="hidden" name="tg" value="{ tgval }" />
<input type="hidden" name="idcal" value="{ idcal }" />
<input type="hidden" name="addc" value="{ add }" />
<table  width="50%" border="0" cellspacing="0" cellpadding="2" align="center">
<tr> 
<td class="BabLoginCadreBackground" align="center" valign="middle"> 
	<table class="BabLoginMenuBackground" width="100%" border="0" cellspacing="0" cellpadding="5" align="center">
		<tr> 
			<td  width="30%" align="right" nowrap valign="middle">{ nametxt }:</td>
			<td  width="70%" valign="middle"> 
				<input type="text" name="calname" size="40" maxlength="255" value="{ calname }" />
			</td>
		</tr>
		<tr> 
			<td  width="30%" align="right" nowrap valign="middle">{ desctxt }:</td>
			<td  width="70%" valign="middle"> 
				<input type="text" name="caldesc" size="50" maxlength="255" value="{ caldesc }" />
			</td>
		</tr>
		<tr> 
			<td  width="30%" align="right" nowrap valign="middle">{ t_availability_lock }:</td>
			<td  width="70%" valign="middle"> 
				<input type="checkbox" name="availability_lock" <!--#if availability_lock --> checked="checked"<!--#endif availability_lock --> />
			</td>
		</tr>
		<tr> 
			<td  align="right" nowrap valign="middle">{ approbationtxt }:</td>
			<td  valign="middle">
				<select name="calidsa">
					<option value="0">{ nonetxt }</option>
					<!--#in getnextschapp -->
					<option value="{ said }" { selected }>{ saname }</option>
					 <!--#endin getnextschapp -->
				</select>
			</td>
		</tr>
		<tr> 
		<td >&nbsp;</td>
		<td  valign="middle"><input type="submit" name="submit" value="{ addtxt }" /></td>
		</tr>
	</table>
</td>
</tr>
</table>
</form>
<br>
<!--#end calendaraddr -->

<!--#begin calendaraddp -->
<form name="calcreate" method="post" action="{ babPhpSelf }">
<input type="hidden" name="tg" value="{ tgval }" />
<input type="hidden" name="idcal" value="{ idcal }" />
<input type="hidden" name="addc" value="{ add }" />
<table  width="50%" border="0" cellspacing="0" cellpadding="2" align="center">
<tr> 
<td class="BabLoginCadreBackground" align="center" valign="middle"> 
	<table class="BabLoginMenuBackground" width="100%" border="0" cellspacing="0" cellpadding="5" align="center">
		<tr> 
			<td  width="30%" align="right" nowrap valign="middle">{ nametxt }:</td>
			<td  width="70%" valign="middle"> 
				<input type="text" name="calname" size="40" maxlength="255" value="{ calname }" />
			</td>
		</tr>
		<tr> 
			<td  width="30%" align="right" nowrap valign="middle">{ desctxt }:</td>
			<td  width="70%" valign="middle"> 
				<input type="text" name="caldesc" size="50" maxlength="255" value="{ caldesc }" />
			</td>
		</tr>
		<tr> 
			<td  align="right" nowrap valign="middle">{ approbationtxt }:</td>
			<td  valign="middle">
				<select name="calidsa">
					<option value="0">{ nonetxt }</option>
					<!--#in getnextschapp -->
					<option value="{ said }" { selected }>{ saname }</option>
					 <!--#endin getnextschapp -->
				</select>
			</td>
		</tr>
		<tr> 
		<td >&nbsp;</td>
		<td  valign="middle"><input type="submit" name="submit" value="{ addtxt }" /></td>
		</tr>
	</table>
</td>
</tr>
</table>
</form>
<br>
<!--#end calendaraddp -->

<!--#begin categorieslist -->

<form method="post" action="{ babPhpSelf }">
<input type="hidden" name="tg" value="admcals" />
<input type="hidden" name="idx" value="cats" />

	<table width="90%" border="0" cellspacing="0" cellpadding="2" align="center">
	<tr> 
	<td class="BabLoginCadreBackground" align="center" valign="middle"> 
	<table width="100%" border="0" cellspacing="0" cellpadding="5" align="center">
	<tr class="BabSiteAdminTitleFontBackground"> 
	<td  width="44%">{ nametxt }</td>
	<td  width="44%">{ desctxt }</td>
	<td  width="10%">{ bgcolortxt }</td>
	<td  width="2%">{ t_delete }</td>
	</tr>
	<!--#in getnext -->
	<!--#if altbg --><tr class="BabSiteAdminFontBackground"><!--#else altbg --><tr class="BabForumBackground1"><!--#endif altbg --> 
	<td valign="middle" nowrap> 
	<a class="BabSiteAdminListLink" href="{ url }">{ urlname }</a> 
	</td>
	<td valign="middle">{ desc }</td>
	<td valign="middle" bgcolor="#{ bgcolor }"><span class="BabSiteAdminFont">{ bgcolor }</span></td>
	<td align="center"><input type="checkbox" name="delete_category[]" value="{ id_category }" /></td>
	</tr>
	<!--#endin getnext -->
	<tr class="BabSiteAdminTitleFontBackground">
	<td><a href="{ urladdcat }">{ add }</td>
	<td colspan="3">&nbsp;</td>
	</tr>
	</table>
	</td>
	</tr>
	</table>
	
	<p style="text-align:center">
		<input type="submit" value="{ t_delete_checked }" onclick="return confirm(this.title)" title="{ t_confirm_delete }" />
	</p>
	
</form>
<!--#end categorieslist -->

<!--#begin categorycreate -->
<script language="JavaScript">
<!--
function setColor(color)
	{
	document.forms.catcolor.bgcolor.value=color;
	if (color == '') color = 'fff';
	document.getElementById('evtColor').style.backgroundColor = '#'+color;
	}
//-->
</script>
<form name="catcolor" method="post" action="{ babPhpSelf }">
<input type="hidden" name="tg" value="{ tgval }">
<input type="hidden" name="idx" value="cats">
<input type="hidden" name="idcat" value="{ idcat }">
<input type="hidden" name="add" value="{ add }">
<table width="50%" border="0" cellspacing="0" cellpadding="2" align="center">
<tr> 
<td class="BabLoginCadreBackground" align="center" valign="middle"> 
<table width="100%" border="0" cellspacing="0" cellpadding="5" align="center">
<tr> 
<td class="BabLoginMenuBackground" width="30%" align="right" valign="middle">{ nametxt }:</td>
<td class="BabLoginMenuBackground" width="70%" valign="middle"> 
<input type="text" name="catname" size="40" maxlength="60" value="{ name }">
</td>
</tr>
<tr> 
<td class="BabLoginMenuBackground" align="right" valign="middle" nowrap>{ desctxt }:</td>
<td class="BabLoginMenuBackground" valign="middle"> 
<input type="text" name="catdesc" size="50" maxlength="255" value="{ desc }">
</td>
</tr>
<tr> 
<td class="BabLoginMenuBackground" align="right" valign="middle" nowrap>{ bgcolortxt }:</td>
<td class="BabLoginMenuBackground" valign="middle">
<div id="evtColor" style="width:30px;height:15px;border:#000 1px solid;background-color:#{ bgcolor };float:left"></div>&nbsp;<a class="BabSiteAdminListLink" href="#" onclick="Start('{ selctorurl }', 'ColorWindow', 'width=400,height=400,status=no,resizable=no,top=200,left=200');return false;"><img src="{ babSkinPath }images/Puces/colorize.png" alt="" border="0" /></a>
<input type="hidden" name="bgcolor" value="{ bgcolor }">
</td>
</tr>
<tr> 
<td class="BabLoginMenuBackground">&nbsp;</td>
<td class="BabLoginMenuBackground" valign="middle"> 
<input type="submit" name="submit" value="{ addtxt }">
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
</form>
<!--#end categorycreate -->


<!--#begin personalcalendars -->
<form method="post" action="{ babPhpSelf }" name="listform">
<input type="hidden" name="tg" value="admcals" />
<input type="hidden" name="idx" value="user" />
<table border="0" width="70%" cellpadding="2" cellspacing="0" align="center">
<tr> 
<td class="BabLoginCadreBackground"> 
<table class="BabMailBackground" border="0" width="100%" cellpadding="2" cellspacing="0">
<tr class="BabSiteAdminTitleFontBackground">
<td valign="middle">{ fullname } </td>
<td valign="middle" align="center">{ pcalendar } </td>
</tr>
<!--#in getnext -->
<!--#if altbg --><tr class="BabSiteAdminFontBackground"><!--#else altbg --><tr class="BabForumBackground1"><!--#endif altbg --> 
<td valign="middle"> 
{ urlname } 
</td>
<td valign="middle" width="0%" align="center"> 
<input type="checkbox" name="calperids[]" <!--#if pcalcheck --> checked="checked"<!--#endif pcalcheck --> value="{ grpid }" />
</td>
</tr>        
<!--#endin getnext -->
<tr> 
<td valign="middle">&nbsp;</td>
<td width="1%" align="center"><a href="javascript:onCheckAll('calperids', true)"><img src="{ babSkinPath }images/Puces/Pucecheked.gif" alt="{ checkall }" width="10" height="10" border="0"></a><a href="javascript:onCheckAll('calperids', false)"><img src="{ babSkinPath }images/Puces/PuceUncheked.gif" alt="{ uncheckall }" width="10" height="10" border="0"></a></td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<div align="center">
<input type="submit" name="sublist" value="{ modify }"></div>
<br>
</form>
<!--#end personalcalendars -->
